package com.kehutong.basic.annex.enums;

import org.coraframework.util.HashID;

public enum OperateType implements HashID {

    SAVE("1", "添加资料"),
    UPDATE("2", "修改资料"),
    UPDATE_STATE("3", "设置状态"),
    RESET_PWD("4", "重置密码"),
    UPDATE_TAG("5", "设置标签"),
    ;

    private final String id;
    private final String desc;

    private OperateType(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
